﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ServiceDetail1.ascx.cs"
    Inherits="ServicesDirectory.UserControl.ServiceDetail1" %>
<%@ Register Src="ListContact.ascx" TagName="ListContact" TagPrefix="uc1" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div id="overlay3" class="web_dialog_overlay"></div>
    
        <div class="ManagerContentBorder">
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Name <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Width="90%" ID="txtServiceName"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="ServiceEmpty" ID="RequiredFieldValidator1"
                    SetFocusOnError="true" ControlToValidate="txtServiceName" runat="server" ErrorMessage="Service is not empty!">*</asp:RequiredFieldValidator>
            </div>
            <div class="titleCol1">
                Service Active
            </div>
            <div class="titleCol2">
                <asp:CheckBox runat="server" Enabled="false" ID="chkActive" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Short Description <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Width="90%" TextMode="MultiLine" ID="txtShortDes" MaxLength="250"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtShortDes"
                    SetFocusOnError="true" ValidationGroup="ServiceEmpty" ErrorMessage="Short Description is not empty!"
                    runat="server">*</asp:RequiredFieldValidator>
            </div>
            <div class="titleCol1">
                Service FullDescription
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Width="90%" TextMode="MultiLine" ID="txtFullDes" MaxLength="1000"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Sub Type
            </div>
            <div class="titleCol2">
                <asp:DropDownList runat="server" ID="ddlSubtype" Width="90%" AutoPostBack="True" />
            </div>
            <div class="titleCol1">
                Dept Code <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" Width="90%" ID="txtDeptCode" MaxLength="50"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txtDeptCode"
                    SetFocusOnError="true" ValidationGroup="ServiceEmpty" runat="server" ErrorMessage="Dept code is not empty!">*</asp:RequiredFieldValidator>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Lead Contact <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="lblLeadContact" Width="55%" ReadOnly="true" CssClass="SicCode"></asp:TextBox>
                <span>
                    <asp:LinkButton runat="server" ID="lbtLookup" CssClass="lookUp" Text="Lookup"></asp:LinkButton></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ValidationGroup="ServiceEmpty"
                    runat="server" ErrorMessage="Lead contact is not empty" ControlToValidate="lblLeadContact">*</asp:RequiredFieldValidator>
            </div>
            <div class="titleCol1">
                Service Type <span class="mandatoryFields">*</span>
            </div>
            <div class="titleCol2">
                <asp:DropDownList runat="server" ID="ddlServiceType" Width="90%" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ValidationGroup="ServiceEmpty"
                    ControlToValidate="ddlServiceType" ErrorMessage="Service type have to selected">*</asp:RequiredFieldValidator>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Client Description
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtClientDes" TextMode="MultiLine" Width="90%" MaxLength="250"></asp:TextBox>
            </div>
            <div class="titleCol1">
                Service Description-Delivery
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtDesDelivery" TextMode="MultiLine" Width="90%"
                    MaxLength="250"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Attendance
            </div>
            <div class="titleCol2">
                <asp:DropDownList runat="server" ID="ddlAttendace" Width="90%" />
            </div>
            <div class="titleCol1">
                Service Contract Code
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtContactCode" Width="90%" MaxLength="50"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Start Expected
            </div>
            <div class="titleCol2">
                <asp:TextBox AutoPostBack="true" CssClass="textMiddle" runat="server" ID="txtStartExpected"
                    Width="80%"></asp:TextBox>
                <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceDetail11_txtStartExpected,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
            </div>
            <div class="titleCol1">
                Service Contract Value
            </div>
            <div class="titleCol2">
                <asp:TextBox runat="server" ID="txtContractValue" MaxLength="50"></asp:TextBox>
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Start Date
            </div>
            <div class="titleCol2">
                <asp:TextBox CssClass="textMiddle" AutoPostBack="true" runat="server" ID="txtStartDate"
                    Width="80%"></asp:TextBox>
                <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceDetail11_txtStartDate,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
            </div>
            <div class="titleCol1">
                Contract Staged Payment
            </div>
            <div class="titleCol2">
                <asp:CheckBox runat="server" ID="chkPayment" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service End Date
            </div>
            <div class="titleCol2">
                <asp:TextBox CssClass="textMiddle" runat="server" AutoPostBack="true" ID="txtEndDate"
                    Width="80%"></asp:TextBox>
                <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceDetail11_txtEndDate,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
            </div>
            <div class="titleCol1">
                Referral Process/Method
            </div>
            <div class="titleCol2">
                <asp:DropDownList runat="server" ID="ddlProcessMethod" Width="95%" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                Service Extendable
            </div>
            <div class="titleCol2">
                <asp:CheckBox AutoPostBack="true" runat="server" ID="chkExtendable" />
            </div>
            <div class="titleCol1">
                Service Time Limited
            </div>
            <div class="titleCol2">
                <asp:CheckBox AutoPostBack="true" runat="server" ID="chkTimelimited" />
            </div>
            <div class="spaceManager">
            </div>
            <div class="spaceManager">
            </div>
            <div class="titleCol1">
                &nbsp;
            </div>
            <div class="titleCol2">
                <span>
                    <asp:DropDownList Enabled="false" ID="ddlYearExtendable" runat="server" AutoPostBack="True">
                        <asp:ListItem>0</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                    </asp:DropDownList>
                    Years &nbsp; <span>
                        <asp:DropDownList Enabled="false" ID="ddlMonthExtendable" runat="server" AutoPostBack="True">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                        </asp:DropDownList>Months
            </div>
            <div class="titleCol1">
                &nbsp;
            </div>
            <div class="titleCol2">
                <span>
                    <asp:DropDownList Enabled="false" ID="ddlYearLimit" runat="server">
                        <asp:ListItem>0</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                    </asp:DropDownList>
                </span>Years &nbsp; <span>
                    <asp:DropDownList Enabled="false" ID="ddlMonthLimit" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>
                </span>Months
            </div>
            <div class="spaceManager">
            </div>
        </div>
        <asp:Panel runat="server" CssClass="web_dialog" ID="pnLeadContact" Visible="false">
            <uc1:ListContact ID="ListContact1" runat="server" />
        </asp:Panel>
        <div style="margin-left: 10px">
            <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="ServiceEmpty" runat="server" />
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
